<?php
/**
 * Created by PhpStorm.
 * User: Victor
 * Date: 2018/8/15
 * Time: 9:49
 */

namespace app\index\model;


use think\Model;

class IbJiesuan extends Model
{
    // 表名
    protected $table = 'ib_jiesuan';
    public function jujian()
    {
        return $this->belongsTo('Jujian', 'yh_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
    public function jujianbian()
    {
        return $this->belongsTo('JujianBian', 'yh_id', 'yh_id', [], 'LEFT')->setEagerlyType(0);
    }
}